Does anybody know (or evene use) the DXL UnitTest: dxlUnit
I am seaking for methodes of testing of my DXL code and had found this DXL UnitTest, but was not abel to get it working :-( thsturm - Fri May 27 05:24:12 EDT 2016 |
Re: Testing DXL with dxlUnit |
Re: Testing DXL with dxlUnit Wolfgang Uhr - Wed Jun 01 06:14:38 EDT 2016 Yes.
If you download (only) the ZIP file (https://sourceforge.net/projects/dxlunit/files/), you will get only some central files. If you download all files (https://sourceforge.net/p/dxlunit/code/ci/master/tree/ => snapshot), you will get a running (after changing the import-paths :-) environment.
Any experiences with this unit tests? |
Re: Testing DXL with dxlUnit thsturm - Wed Jun 01 08:01:45 EDT 2016 Yes.
If you download (only) the ZIP file (https://sourceforge.net/projects/dxlunit/files/), you will get only some central files. If you download all files (https://sourceforge.net/p/dxlunit/code/ci/master/tree/ => snapshot), you will get a running (after changing the import-paths :-) environment.
Any experiences with this unit tests? This is a test file: https://sourceforge.net/p/dxlunit/code/ci/master/tree/test/DiverseTests.dxl And this a s simple test:
void testAE_int(){
assertEquals(1,1)
assertEquals(3-2, intOf "1")
}
This test checks two conditions. First it checks if 1 is equal 1 and second int checks if 3-2 is equal 1. You run the test by evaluating the command runSingleTestFile( ...\DiverseTests.dxl ) The routine you find in https://sourceforge.net/p/dxlunit/code/ci/master/tree/src/TestRunnerCore.inc
|
Re: Testing DXL with dxlUnit Wolfgang Uhr - Sun Jun 05 13:14:07 EDT 2016 This is a test file: https://sourceforge.net/p/dxlunit/code/ci/master/tree/test/DiverseTests.dxl And this a s simple test:
void testAE_int(){
assertEquals(1,1)
assertEquals(3-2, intOf "1")
}
This test checks two conditions. First it checks if 1 is equal 1 and second int checks if 3-2 is equal 1. You run the test by evaluating the command runSingleTestFile( ...\DiverseTests.dxl ) The routine you find in https://sourceforge.net/p/dxlunit/code/ci/master/tree/src/TestRunnerCore.inc
Yes, thank you. First part of the question is answered, the tests are running.
BUT did anybody use this DxlUnit tests and has experience with them? |
Re: Testing DXL with dxlUnit thsturm - Mon Jun 06 03:26:32 EDT 2016 Yes, thank you. First part of the question is answered, the tests are running.
BUT did anybody use this DxlUnit tests and has experience with them? I've used an othter version of this test, a version of someone else. |